<template>
  <CenterPage v-if="isCenter"></CenterPage>
  <StationPage v-else></StationPage>
</template>
<script>
import CenterPage from "./CenterPage";
import StationPage from "./StationPage";
import { mapState } from "vuex";
export default {
  name: "Stationlocation",
  components: {
    CenterPage,
    StationPage,
  },
  data() {
    return {};
  },
  methods: {},
  computed: {
    ...mapState(["isCenter"]),
  },
};
</script>
<style lang="less" scoped>
</style>
